package com.sxsy.datasource.mapper;


import com.sxsy.datasource.bean.WsjcBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WsjcDataMapper {
    public void insertBjdata(String Code,String Wz,String Value,String Stime,String Etime);
    public List<WsjcBean> DoesKeyExit();
    public void RtsaveNewDevkeyValue(@Param("Bm")String key,@Param("Wz")String Wz);//从Dev文件读出新的key，更新实时表
    public void RtdeleteRow(@Param("Bm")String key);
    public void RtupdateWz(@Param("Bm")String key, @Param("Wz")String Wz);//更新实时表中key关联的位置信息
    public void HistoryTableinsert(@Param("Bm")String key, @Param("Wz") String Wz,@Param("nValue") String Value, @Param("nDate")String Date);
    public void RtsaveNewSsKeyValue(@Param("Bm")String key, @Param("Wz") String Wz,@Param("nValue")String Value,@Param("nDate")String Date);

}
